﻿using System.Web.Mvc;

namespace Ctef.Web.Controllers
{
    public class AmazonController : Controller
    {
        [HttpGet]
        public ActionResult Index()
        {
            return Redirect("http://www.amazon.com/?_encoding=UTF8&camp=1789&creative=390957&linkCode=ur2&tag=cteforg-20");
        }

        [HttpGet]
        public ActionResult Associate()
        {
            return View();
        }

        protected override void HandleUnknownAction(string actionName)
        {
            this.View("Associate").ExecuteResult(this.ControllerContext);
        } 
    }
}
